package cn.com.ebidding.business.service;


import cn.com.ebidding.business.entity.Group;
import cn.com.ebidding.business.entity.User;
import cn.com.ebidding.business.entity.UserPwd;
import cn.com.ebidding.business.vo.GroupConditionVO;
import cn.com.ebidding.business.vo.UserConditionVO;
import cn.com.ebidding.framework.object.AbstractService;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 用户
 *
 * @author 扫地僧 (saods@ebidding.com.cn)
 * @version 1.0
 * @website https://ksp.ebidding.com.cn
 * @date 2018/4/16 16:26
 * @since 1.0
 */
public interface SysGroupService extends AbstractService<Group, Long> {

    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
    PageInfo<Group> findPageBreakByCondition(GroupConditionVO vo);

    /**
     * 根据用户组名查询
     * @param name
     * @return
     */
    default Group getByGroupName(String name){
        return null;
    }

    /**
     * 获取ztree group列表
     * @param articleId
     * @return
     */
    List<Map<String, Object>> queryGroupListWithSelected(Long articleId,Integer authType);


}
